package com.bkitmobile.kesu.appengine.storingdata.server.entity;

import java.io.Serializable;
import java.util.Date;



@SuppressWarnings("serial")
public class LocationData implements Serializable{
	private Date date;
	
	private String status;
	
	private double longitude;

	private double latitude;
	private boolean isFirst;
	public LocationData(double latitude,double longitude, String status,boolean isFirst)
	{
		this.setStatus(status);
		this.setLongitude(longitude);
		this.setLatitude(latitude);
		setDate(new Date());
		this.setFirst(isFirst);
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getStatus() {
		return status;
	}



	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}

	public double getLongitude() {
		return longitude;
	}

	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}

	public double getLatitude() {
		return latitude;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public Date getDate() {
		return date;
	}

	public void setFirst(boolean isFirst) {
		this.isFirst = isFirst;
	}

	public boolean isFirst() {
		return isFirst;
	}

}
